home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 2004 May / SGI IRIX 6.5 Applications 2004 May.iso / relnotes / SCSL / ch2.z / ch2
Encoding:
Text File  |  2004-04-07  |  7.7 KB  |  265 lines

  1.  
  2.  
  3.  
  4.                                   - 1 -
  5.  
  6.  
  7.  
  8.        2.  _S_C_S_L__I_n_s_t_a_l_l_a_t_i_o_n__I_n_f_o_r_m_a_t_i_o_n__f_o_r__I_R_I_X__S_y_s_t_e_m_s
  9.  
  10.        This chapter lists supplemental information to the
  11.        Installation Guide for your system.  The information listed
  12.        here is product- and release-specific; use it with the
  13.        Installation Guide to install this product.
  14.  
  15.        SCSL may be installed in a modules environment or installed
  16.        in default /usr or in both locations. This chapter discusses
  17.        those installation requirements, as well as other
  18.        installation information.
  19.  
  20.        2.1  _S_C_S_L__S_u_b_s_y_s_t_e_m_s
  21.  
  22.        SCSL includes these subsystems:
  23.  
  24.        _s_c_s_l                          SCSL Scientific Library
  25.                                      1.4.1.3
  26.  
  27.        _s_c_s_l._h_d_r._l_i_b                  SCSL Library Headers
  28.  
  29.        _s_c_s_l._m_a_n._l_i_b                  SCSL Manual Pages
  30.  
  31.        _s_c_s_l._m_a_n._r_e_l_n_o_t_e_s             SCSL Release Notes
  32.  
  33.        _s_c_s_l._s_w_3_2._l_i_b                 SCSL Libraries
  34.  
  35.        _s_c_s_l._s_w_6_4._l_i_b                 SCSL Libraries 64bit
  36.  
  37.        _s_c_s_l._s_w_6_4._l_i_b__6_4_b_i_t           SCSL Libraries 64bit (64bit
  38.                                      integer)
  39.  
  40.        The following subsystem sizes are approximate. Refer to the
  41.        IRIS Software Installation Guide for information about
  42.        finding exact sizes.
  43.  
  44.        Subsystem Name                           Subsystem Size
  45.                                                    (Kbytes)
  46.  
  47.        _s_c_s_l._h_d_r._l_i_b *                                  1116
  48.        _s_c_s_l._m_a_n._l_i_b *                                  7656
  49.        _s_c_s_l._m_a_n._r_e_l_n_o_t_e_s *                               28
  50.        _s_c_s_l._s_w_3_2._l_i_b *                                39836
  51.        _s_c_s_l._s_w_6_4._l_i_b *                                39832
  52.        _s_c_s_l._s_w_6_4._l_i_b__6_4_b_i_t__i_n_t *                      39908
  53.  
  54.  
  55.  
  56.  
  57.        The subsystem scsl.sw64.lib_64bit_int, which contains the
  58.        libraries that support 64-bit integers, is not installed by
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   - 2 -
  71.  
  72.  
  73.  
  74.        default.
  75.  
  76.        The subsystem scsl.sw32.lib contains libraries for the MIPS3
  77.        instruction set. These libraries will only install on
  78.        systems with the R4000 family of processors.
  79.  
  80.        The location of these libraries and their names are subject
  81.        to change.
  82.  
  83.  
  84.        2.2  _I_N_S_T_A_L_L_I_N_G _6_4-_B_I_T _S_C_S_L _V_E_R_S_I_O_N_S _O_N _3_2__B_I_T _E_X_E_C_U_T_I_O_N
  85.             _O_N_L_Y _S_Y_S_T_E_M_S
  86.  
  87.        The subsystems scsl.sw64.lib, and scsl.sw64.lib_64bit_int
  88.        are marked to install only on systems that support execution
  89.        of 64-bit programs (MIPS R8000, R10000, R12000 and R14000
  90.        based systems), they will not install on systems that only
  91.        support execution of 32-bit programs (MIPS R5000 based
  92.        systems). To force either of these subsystems to install on
  93.        32-bit execution only systems, you must use the -m option
  94.        with inst or swmgr with CPUARCH=R10000 (or R8000 or R12000).
  95.        See the inst(1M) manual page for a full description of this
  96.        option.
  97.  
  98.        # inst -f "location of scsl dist" -m CPUARCH=R10000
  99.  
  100.  
  101.  
  102.        2.3  _I_N_S_T_A_L_L_I_N_G _S_C_S_L _I_N _A_N _A_L_T_E_R_N_A_T_E _L_O_C_A_T_I_O_N _F_O_R _U_S_E _W_I_T_H
  103.             _M_O_D_U_L_E_S
  104.  
  105.        Install the modules package into the default root. After
  106.        this is done, you can install the SCSL software as follows:
  107.  
  108.        # inst -r /opt/scsl/"version" -f "location of scsl dist"
  109.        -Vrulesoverride:on -a
  110.  
  111.        The "version" string should match the 4 digit release string
  112.        of the particular SCSL package you are installing. This
  113.        version can be determined as follows:
  114.  
  115.        # showprods -f "location of scsl dist" scsl | grep -i
  116.        scientific
  117.  
  118.           scsl             SGI Scientific Library 1.4.1.3 (SCSL
  119.        1.4.1.3)
  120.  
  121.        In the above example, "version" would be 1.4.1.3.
  122.  
  123.        Please note that -Vrulesoverride:on is needed to install
  124.        because /opt/scsl/"version" will not be a complete root but
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                   - 3 -
  137.  
  138.  
  139.  
  140.        only a partial root containing only the SCSL software. The
  141.        -Vrulesoverride:on will turn off the verification of
  142.        prerequisite sub-systems.
  143.  
  144.        After the software is installed, you must set the SCSL link
  145.        as follows:
  146.  
  147.        # cd /opt/scsl
  148.  
  149.        # ln -s "version" scsl          (scsl modulefile uses this
  150.                                      link)
  151.  
  152.        Assuming modules software is installed, the scsl modulefile
  153.        will work with the above general installation.
  154.  
  155.        Release notes can be read using grelnotes -rpath
  156.  
  157.        % grelnotes -rpath /opt/scsl/1.4.1.3/usr/relnotes scsl
  158.  
  159.        or you can set the environment variable RELNOTESPATH by
  160.        entering the following commands in a Unix Shell window:
  161.  
  162.        % setenv RELNOTESPATH /opt/scsl/scsl/usr/relnotes
  163.  
  164.        % relnotes scsl
  165.  
  166.        % unsetenv -v RELNOTESPATH
  167.  
  168.        NOTE: If you neglect to run the unsetenv command above, you
  169.        will not be able to view relnotes for other products
  170.        installed on your system in the default relnotes location.
  171.  
  172.        Chapter 5 of the release notes for the Modules product also
  173.        describes how to install SCSL for use with Modules. You can
  174.        obtain these relnotes by using the following command:
  175.  
  176.        % relnotes modules 5
  177.  
  178.  
  179.  
  180.        2.4  _M_O_D_I_F_Y_I_N_G__Y_O_U_R__D_O_T__F_I_L_E_S__T_O__U_S_E__M_O_D_U_L_E_S
  181.  
  182.        So that modules will be defined in shell and sub-shells,
  183.        user dot files must be modified.  For more information on
  184.        this topic, see the document at /opt/modules/modules/doc.
  185.  
  186.        For c-shell:
  187.  
  188.        source /opt/modules/modules/init/csh (should be added to
  189.                                      .cshrc)
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                                   - 4 -
  203.  
  204.  
  205.  
  206.        module load modules           (should be added to .cshrc)
  207.  
  208.        module load scsl              (can be added to .cshrc)
  209.  
  210.        For POSIX-shell:
  211.  
  212.        export ENV=.env               (added to .profile (.env is
  213.                                      probably .kshrc))
  214.  
  215.        . /opt/modules/modules/init/ksh (added to file $ENV)
  216.  
  217.        module load modules           (added to file $ENV)
  218.  
  219.        module load scsl              (added to $ENV)
  220.  
  221.  
  222.  
  223.        2.5  _C_R_E_A_T_I_N_G__A__M_O_D_U_L_E_F_I_L_E__F_O_R__A__S_P_E_C_I_F_I_C__V_E_R_S_I_O_N__O_F__S_C_S_L
  224.  
  225.        For each version of the SCSL software you maintain, you can
  226.        create a modulefile for it by copying the SCSL modulefile to
  227.        /opt/modulefiles as scsl."version". Then edit scsl."version"
  228.        and change the value of SCSL_LEVEL to "version".
  229.  
  230.  
  231.        Example: You have installed version 1.4.1.3 as
  232.        /opt/scsl/1.4.1.3.  To create a modulefile for
  233.        /opt/scsl/1.4.1.3, copy /opt/modulefiles/scsl to
  234.        /opt/modulefiles/scsl.1.4.1.3. Then edit
  235.        /opt/modulefiles/scsl.1.4.1.3 and  change the value of
  236.        SCSL_LEVEL to 1.4.1.3.  Users can then change between this
  237.        version and any other version using the "module swap"
  238.        command:
  239.  
  240.        % module swap scsl scsl.1.4.1.3
  241.  
  242.        If SCSL is installed in both /usr and /opt (for modules),
  243.        the user can load module scsl and use the versions listed in
  244.        /opt/scsl. If the user does not load modules, the /usr
  245.        version is referenced.
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.